<script>
  import "./assets/myclass.css";
</script>

<div>
  <!-- <h1 style="color: red;">Style</h1> -->
  <h1 style:color="red">Style</h1>
  <h1 class="myclass">蓝色</h1>
  <h1 class="yellowclass">黄色</h1>
  <h1 class="greenclass">绿色</h1>
</div>

<style>
  .myclass {
    color: blue;
  }
</style>
